﻿using Onetube.Models;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

namespace Onetube.Providers.Interfaces
{
   public interface IAudioProvider
    {
       Task<Uri> GetAudioUrlAsync(string videoId, AudioType type = AudioType.MP4, CancellationTokenSource cancelToken=null);

       Task<List<AudioType>> GetSupportedAudioTypesAsync(string videoId, CancellationTokenSource cancelToken);

    }
}
